﻿
<!-- /PAGE HEADER -->
<!-- FORMS -->
<div class="row">
	<div class="col-md-12">
		<div class="row">
			<div class="col-md-6">
				<!-- BASIC -->
				<div class="box border orange">
					<div class="box-title">
						<h4><i class="fa fa-bars"></i>添加权限</h4>
						<div class="tools hidden-xs">
							<a href="#box-config" data-toggle="modal" class="config">
								<i class="fa fa-cog"></i>
							</a>
							<a href="javascript:;" class="reload">
								<i class="fa fa-refresh"></i>
							</a>
							<a href="javascript:;" class="collapse">
								<i class="fa fa-chevron-up"></i>
							</a>
							<a href="javascript:;" class="remove">
								<i class="fa fa-times"></i>
							</a>
						</div>
					</div>
					<div class="box-body big">
						<form class="form-horizontal" enctype="multipart/form-data" action="" method="post" role="form">

						  <div class="form-group">
							<label for="inputEmail3" class="col-sm-2 control-label">权限名称</label>
							<div class="col-sm-10">
							  <input type="text" name="name" class="form-control" id="inputEmail3" placeholder="请输入权限名称">
							</div>
						  </div>

						   <div class="form-group">
							<label for="inputEmail3" class="col-sm-2 control-label">权限规则</label>
							<div class="col-sm-10">
							  <input type="text" name="rule" class="form-control" id="inputEmail3" placeholder="例子：Admin/add">
							</div>
						  </div>

							<div class="form-group">
								<label class="col-sm-2 control-label">权限模块</label>
								<div class="col-sm-3 list">
									<select class="form-control select_cate" name="pid">
										<option value="0">顶级分类</option>
										<?php foreach($data as $v){ ?>
											<option value="<?php echo $v['id']?>"><?php echo $v['name']?></option>
										<?php }?>
									</select>
								</div>
							</div>

						  <div class="form-group">
							<div class="col-sm-offset-2 col-sm-10">
							  <button type="submit" class="btn btn-pink">提交</button>
							</div>
						  </div>

						</form>

					</div>
				</div>
				<!-- /BASIC -->
				<!-- BASIC -->

				<!-- /BASIC -->
			</div>

		</div>

		</div>
		<!-- /SAMPLE -->
	</div>
</div>


<script src="resources/admin/js/jquery/jquery-2.0.3.min.js"></script>
<script  type="text/javascript"r>
	$(function(){

	})



</script>


